<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class TreatmentCategoriesSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        $data = [
            [
                'id' => 1,
                'name' => '美体塑形',
                'image_url' => 'http://cdn.henrywong01.top/treatmentCategory/%E7%BE%8E%E4%BD%93%E5%A1%91%E5%BD%A2.png'
            ],
            [
                'id' => 2,
                'name' => '面部轮廓',
                'image_url' => 'http://cdn.henrywong01.top/treatmentCategory/%E9%9D%A2%E9%83%A8%E8%BD%AE%E5%BB%93.png'
            ],
            [
                'id' => 3,
                'name' => '皮肤美容',
                'image_url' => 'http://cdn.henrywong01.top/treatmentCategory/%E7%9A%AE%E8%82%A4%E7%BE%8E%E5%AE%B9.png'
            ],
            [
                'id' => 4,
                'name' => '眼部护理',
                'image_url' => 'http://cdn.henrywong01.top/treatmentCategory/%E7%9C%BC%E9%83%A8%E6%8A%A4%E7%90%86.png'
            ]
        ];

        DB::table('treatment_categories')->insert($data);
    }
}
